<?php

$hasModules = (!$modules->numModules('standard')) ? false : true;
if(!$hasModules) {
	
	?>
	<h1><?php $lang->put('welcome'); ?></h1>
	<p><?php printf($lang->get('nomodules'), $cosa->system('base-url').'/?m=system&s=modules'); ?></p>
	<?php
	
} else {
	
	?>
	<div class="clearfix">
		<h1><?php $lang->put('standard-modules'); ?></h1>
		<?php $modules->printBlocks('standard'); ?>
	</div>
	<div class="clearfix">
		<h1><?php $lang->put('system-modules'); ?></h1>
		<?php $modules->printBlocks('system'); ?>
	</div>
	<?php
	
}

?>